package com.syyo.gulimall.product.feign;

import com.syyo.common.domain.ResultVo;
import com.syyo.common.to.SkuReductionTo;
import com.syyo.common.to.SpuBoundTo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author: wang
 * @date: 2021/3/2 16:02
 * @Description:
 */
@FeignClient("gulimall-coupon")
public interface CouponFeign {

    @PostMapping("/coupon/spubounds")
    ResultVo saveSpuBounds(SpuBoundTo spuBoundTo);

    @PostMapping("/coupon/skufullreduction/feign")
    ResultVo saveSkuReduction(SkuReductionTo skuReductionTo);
}
